package cn.source.report.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;

/**
 * record对象 event_record
 * 
 * @author sourcebyte.vip
 * @date 2025-06-03
 */
public class EventRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private String id;

    /** 通道GUID */
    @Excel(name = "通道GUID")
    private String tdGuid;

    /** 事件记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "事件记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeDate;

    /** 数据类型 */
    @Excel(name = "数据类型")
    private Long waveType;

    /** 实际波形数据 */
    @Excel(name = "实际波形数据")
    private String wave;

    /** 事件路径 */
    @Excel(name = "事件路径")
    private String path;

    /** 文件标志 */
    @Excel(name = "文件标志")
    private Long mark;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private Long eventType;

    /** 特征相位 */
    @Excel(name = "特征相位")
    private Long iPase;

    /** 触发相位 */
    @Excel(name = "触发相位")
    private Long nPase;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date eTime;

    /** 持续时间(ms) */
    @Excel(name = "持续时间(ms)")
    private Long keepTime;

    /** 特征值 */
    @Excel(name = "特征值")
    private Long evtVal;

    /** A相电压 */
    @Excel(name = "A相电压")
    private Long voltA;

    /** B相电压 */
    @Excel(name = "B相电压")
    private Long voltB;

    /** C相电压 */
    @Excel(name = "C相电压")
    private Long voltC;

    /** 额定电压 */
    @Excel(name = "额定电压")
    private Long eddy;

    /** 规约类型（用于解析） */
    @Excel(name = "规约类型", readConverterExp = "用=于解析")
    private Long gylx;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTdGuid(String tdGuid) 
    {
        this.tdGuid = tdGuid;
    }

    public String getTdGuid() 
    {
        return tdGuid;
    }
    public void setTimeDate(Date timeDate) 
    {
        this.timeDate = timeDate;
    }

    public Date getTimeDate() 
    {
        return timeDate;
    }
    public void setWaveType(Long waveType) 
    {
        this.waveType = waveType;
    }

    public Long getWaveType() 
    {
        return waveType;
    }
    public void setWave(String wave) 
    {
        this.wave = wave;
    }

    public String getWave() 
    {
        return wave;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setMark(Long mark) 
    {
        this.mark = mark;
    }

    public Long getMark() 
    {
        return mark;
    }
    public void setEventType(Long eventType) 
    {
        this.eventType = eventType;
    }

    public Long getEventType() 
    {
        return eventType;
    }
    public void setiPase(Long iPase) 
    {
        this.iPase = iPase;
    }

    public Long getiPase() 
    {
        return iPase;
    }
    public void setnPase(Long nPase) 
    {
        this.nPase = nPase;
    }

    public Long getnPase() 
    {
        return nPase;
    }
    public void setsTime(Date sTime) 
    {
        this.sTime = sTime;
    }

    public Date getsTime() 
    {
        return sTime;
    }
    public void seteTime(Date eTime) 
    {
        this.eTime = eTime;
    }

    public Date geteTime() 
    {
        return eTime;
    }
    public void setKeepTime(Long keepTime) 
    {
        this.keepTime = keepTime;
    }

    public Long getKeepTime() 
    {
        return keepTime;
    }
    public void setEvtVal(Long evtVal) 
    {
        this.evtVal = evtVal;
    }

    public Long getEvtVal() 
    {
        return evtVal;
    }
    public void setVoltA(Long voltA) 
    {
        this.voltA = voltA;
    }

    public Long getVoltA() 
    {
        return voltA;
    }
    public void setVoltB(Long voltB) 
    {
        this.voltB = voltB;
    }

    public Long getVoltB() 
    {
        return voltB;
    }
    public void setVoltC(Long voltC) 
    {
        this.voltC = voltC;
    }

    public Long getVoltC() 
    {
        return voltC;
    }
    public void setEddy(Long eddy) 
    {
        this.eddy = eddy;
    }

    public Long getEddy() 
    {
        return eddy;
    }
    public void setGylx(Long gylx) 
    {
        this.gylx = gylx;
    }

    public Long getGylx() 
    {
        return gylx;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tdGuid", getTdGuid())
            .append("timeDate", getTimeDate())
            .append("waveType", getWaveType())
            .append("wave", getWave())
            .append("path", getPath())
            .append("mark", getMark())
            .append("eventType", getEventType())
            .append("iPase", getiPase())
            .append("nPase", getnPase())
            .append("sTime", getsTime())
            .append("eTime", geteTime())
            .append("keepTime", getKeepTime())
            .append("evtVal", getEvtVal())
            .append("voltA", getVoltA())
            .append("voltB", getVoltB())
            .append("voltC", getVoltC())
            .append("eddy", getEddy())
            .append("gylx", getGylx())
            .toString();
    }
}
